package redteam.grabthegreen;

import android.os.Bundle;

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.google.android.maps.Point;

public class MyMap extends MapActivity {

	@Override
    public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		MapView mv = new MapView(this);
		Point p = new Point((int) (40.689213 * 1000000),
                (int) (-74.044558 * 1000000));
		MapController mc = mv.getController();
		mc.animateTo(p);
		mc.zoomTo(21);
		setContentView(mv);
		mv.toggleSatellite();
	}
}
